﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META name="keywords" content="$!config.keywords" />
<META name="description" content="$!config.description" />
<title>$!config.name-用户信息</title>
<link href="skin/default/css/css.css" rel="stylesheet" type="text/css">
<script>
function doSave()
{
if(doCheck())
{
if(EditForm.cid.value!="")EditForm.parameter.value="update";
EditForm.submit();
}
}
function doCheck()
{

if(EditForm.password.value=="")
{
alert("用户密码不能为空！");
EditForm.password.focus();
return false;
}
if(EditForm.password.value!=EditForm.password1.value)
{
alert("两次输入的密码不正确！");
EditForm.password.focus();
return false;
}
return true;
}
function doRefresh(obj,file)
{
if(file!="")
{
eval(obj+".value=file");
alert(EditForm.photo.value);
photoShow.innerHTML="<img src="+file+" align=absmiddle>";
}
}
function doUpload()
{
upFrame.EditForm.parentObj.value="EditForm.photo";
upFrame.doUpload();
}
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
#parse("/inc/top.htm")
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="8" class="cn_12px">
  <tr>
    <td><strong><a href="bbs/" target="_top">论坛系统</a>- 用户资料</strong><br>
    </td>
    <td><div align="right"></div></td>
  </tr>
</table>
<form name="EditForm" method="post" action="bbsuser.do">
 <input type="hidden" name="parameter" value="changePass">
 <input type="hidden" name="cid"   value="$!cid">	
 <table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr> 
      <td width="98%" height="433" valign="top"><div align="center"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr> 
                <td height="31" colspan="2">&nbsp;</td>
    </tr>
              <tr align="center"> 
                <td height="25" colspan="2" ><strong><font color="#0099CC">修改用户密码</font></strong></td>
              </tr>
              <tr align="center">
                <td colspan="2" class="news_text">&nbsp;</td>
              </tr>
              <tr> 
                <td colspan="2"><img src="images/line.gif" width="100%" height="1"></td>
              </tr>
              <tr> 
                <td width="200" align="right"><span class="cn_12px"><strong><font color="#666666">旧密码：</font></strong></span> 
                </td>
                <td valign="middle" class="cn_12px"><input name="oldPassword" type="text" id="oldPassword" size="25"> 
                  <font color="#FF0000">*</font></td>
              </tr>
			 
			   <tr> 
                <td width="200" align="right"><span class="cn_12px"><strong><font color="#666666">新密码：</font></strong></span> 
                </td>
                <td valign="middle" class="cn_12px"><input name="password" type="password" id="password" size="25"> 
                  <font color="#FF0000">*</font></td>
              </tr>
			   <tr> 
                <td width="200" align="right"><span class="cn_12px"><strong><font color="#666666">确认新密码：</font></strong></span> 
                </td>
                <td valign="middle" class="cn_12px"><input name="password1" type="password" id="password1" size="25"> 
                  <font color="#FF0000">*</font></td>
              </tr>
              <tr> 
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr align="center"> 
                <td colspan="2"> <input type="button" name="Submit" value="保存"  onClick="doSave();">　
　
<input type="reset" name="Submit22" value="返回" onClick="history.go(-1);"></td>
              </tr>
  </table>
      <p class="cn_12px">&nbsp;</p>      </td>
    </tr></table>
</form>
<hr align="center" width="98%">
#parse("/inc/foot.htm")
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end

